//
//  NBFatherController.h
//  聚超值
//
//  Created by 周abel on 16/4/1.
//  Copyright © 2016年 Zhli. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NBCell.h"
#import "AFNetworking.h"
#import "MJExtension.h"
#import "NBItem.h"
#import "MJRefresh.h"

@class  NBFatherController;

// 代理监听屏幕滚动,实现导航条隐藏
@protocol SelectedControllerdelegate <NSObject>

- (void)selected:(NBFatherController *)controller Distance:(CGFloat)offset;

@end


@interface NBFatherController : UITableViewController

// NBItem数组
@property (nonatomic, strong)NSMutableArray *itemArr;

// ABItem数组
@property (nonatomic, strong)NSMutableArray *itemArr_2;

// 记录刷界面的页数
@property (nonatomic, assign)NSInteger page;

// 代理
@property (nonatomic, weak)id <SelectedControllerdelegate>delegate;

// 结束刷新
- (void)endRefresh;

@end
